package com.khwy158.hzhdemo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


@Controller
public class hello {


    @GetMapping("/hello")
    public  String test01(){

        return "index";
    }

    @RequestMapping("hello_id")
    public  String test02(@RequestParam String name){

        return "###############巫@@毛###################";
    }



}
